﻿<html lang="en" style="font-size: 50px;"><head>
	<meta charset="UTF-8">
	<meta name="format-detection" content="telephone=no">
	<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no">

	<link rel="stylesheet" href="__PUBLIC__/Iphone/css/css.css">
	<script src="__PUBLIC__/Iphone/js/1.9.1.min.js"></script>
	<script type="__PUBLIC__/Iphone/js/zepto.js"></script>
	<script src="__PUBLIC__/Iphone/js/public.js"></script>
	<script src="__PUBLIC__/Iphone/js/index.js"></script>
	<title>
		锦绣前程网｜综合数字资产交易平台
	</title>
	<meta property="wb:webmaster" content="8af72a3a7309f0ee">
	<script>
        var _hmt = _hmt || [];
        (function() {
            var hm = document.createElement("script");
            hm.src = "https://hm.baidu.com/hm.js?bdf95dc7fc4c22c518fc712d90092d31";
            var s = document.getElementsByTagName("script")[0];
            s.parentNode.insertBefore(hm, s);
        })();
	</script>
</head>
<body>
<div class="Wf-div1" style="border-bottom: none;">
	<a onclick="history.back(-1)">返回</a>
	<span>新闻中心</span>
</div>
<p class="bullet_p" id="bullet_p">
	<a class=" bull_click " href="{:U('Art/index',array('position_id'=>'1'))}">公告</a>
	<i class="bull_span_shu">|</i>
	<a class=" bull_click actives" href="javascript:">新闻</a>
</p>
<volist name="list1" id="vo">
<div id="box_bull">
	<ul class="bullet_uls uls1">
		<li>
			<a href="{:U('Art/details',array('id'=>$vo['article_id']))}" style="color:black ;">{$vo.title}</a>
			<span>
             {$vo.add_time|date='Y-m-d',###}                                 </span>
		</li>
</div>
</volist>
<!-- <div>

		<li>
			<p class="much more">{$page}</p>
		</li>
	</ul>

</div> -->
<input type="hidden" class="pnumber" value="1">
<input type="hidden" class="type" value="1">
<div style="clear: both;"></div>

<script>
	 $(function(){
	 $(".bullet_p .bull_click").click(function() {
	            $(this).addClass('actives').siblings().removeClass('actives');
	             var index =   $(".bullet_p .bull_click").index(this);
	             $("#box_bull > ul").eq(index).show().siblings().hide();
	 $('.pnumber').val(1);
	 $('.type').val(index);
	 });
	 })
    //更多公告记录
    $('.much').click(function(){
        var page = $('.pnumber').val();
        var type = $('.type').val();
        $.post('/news/muchnews',{page:page,type:type},function(d){
            var datas = eval('('+ d+')');
            //追加元素
            for(var i=0;i<datas.data.length;i++){
                if(datas.data[i].is_important == 1){
                    var color = "color:red;font-weight:bold;";
                }else{
                    var color = "color:black";
                }
                if(datas.data[i].title != ''){
                    var title = datas.data[i].title;
                }else{
                    var title = datas.data[i].content;
                }
				/*if(datas.data[i].corp != 0){
				 var source = '【'+ datas.data[i].corp +'】';
				 }else{
				 var source = '';
				 }*/
                if(datas.data[i].time != ''){
                    var time = datas.data[i].time;
                }else{
                    var time =  datas.data[i].ptime;
                }
                var html ='<li><a style="'+color+'" href="/news/detail/?id='+ datas.data[i].id +'">'+title + '</a><span>' + time+ '</span></li>';
                $('.uls1 li:last').before(html);
            }

            if(datas.data.length < 30){
                $('.much').html('无更多内容');
            }
            $('.pnumber').val(datas.msg);
        })
    })
</script>


</body></html>